package com.xingu.xg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xingu.xg.common.entity.query.AddNodeQuery;
import com.xingu.xg.common.entity.query.CopyNodeQuery;
import com.xingu.xg.common.entity.query.DeleteNodeQuery;
import com.xingu.xg.common.entity.query.NodeQuery;
import com.xingu.xg.common.entity.vo.TreeMenuVo;
import com.xingu.xg.mapper.pojo.TreeMenuDo;

import java.util.List;

public interface TreeMenuService extends IService<TreeMenuDo> {

    void addSameLevelTreeMenu(AddNodeQuery addNodeQuery);

    void addDifferentLevelTreeMenu(AddNodeQuery addNodeQuery);

    List<TreeMenuDo> queryTreeMenuList();

    void copyTreeMenu(CopyNodeQuery copyNodeQuery);

    void removeTreeMenu(DeleteNodeQuery deleteNodeQuery);
}
